home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / CHIPCD_02_2002.iso / Internet / Macromedia ColdFusion Server 5 / coldfusion-50-win-us.exe / data1.cab / Examples / CFDOCS / snippets / hour.cfm < prev    next >
Encoding:
Text File  |  2001-06-13  |  424 b   |  27 lines

  1. <!--- This example shows the use of Hour, Minute, and Second --->
  2.  
  3. <HTML>
  4.  
  5. <HEAD>
  6. <TITLE>
  7. Hour Example
  8. </TITLE>
  9. </HEAD>
  10.  
  11. <BASEFONT FACE="Arial, Helvetica" SIZE=2>
  12. <BODY  bgcolor="#FFFFD5">
  13.  
  14. <H3>Hour Example</H3>
  15.  
  16. <CFOUTPUT>
  17. The time is currently #TimeFormat(Now())#.
  18. We are in hour #Hour(Now())#, Minute #Minute(Now())#
  19. and Second #Second(Now())# of the day.
  20. </CFOUTPUT>
  21.  
  22.  
  23.  
  24. </BODY>
  25.  
  26. </HTML>       
  27.